package com.tao.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 86130
 * 后台管理订单显示
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class AdminOrderVo implements Serializable {

    public static final Long serialVersion = 1L;

    @JsonProperty("order_id")
    private Long orderId;
    @JsonProperty("user_id")
    private Integer userId;

    /**
     * 商品种类
     */
    @JsonProperty("product_num")
    private Integer productNum;

    /**
     * 订单中商品数量
     */
    @JsonProperty("order_num")
    private Integer orderNum;

    /**
     * 订单金额
     */
    @JsonProperty("order_price")
    private Double orderPrice;

    /**
     * 订单时间
     */
    @JsonProperty("order_time")
    private Long orderTime;
}

